using System.Collections.Generic;
using UnityEngine;

[CreateAssetMenu(fileName = "Condition12-攻击的敌人棋子上有哀伤印记", menuName = "Skill/Condition/Condition12-攻击的敌人棋子上有哀伤印记", order = 12)]
public class Condition12: ConditionBase
{
    public override bool Evaluate(Pair pair,GameEvent e)
    {
        if (e is not AttackChessEvent attackChessEvent) return false;
        return attackChessEvent.BeAttackedChess.ChessDetail.GriefMark;
    }
}